public class Test {
    public static void main(String[] args) {
        Card card1=new Card(1,"hongtao");
        Card card2=new Card(2,"heitao");
//        System.out.println(card1.equals(card2));
        int c=card1.compareTo(card2);
        if(c>0){
            System.out.println("card1>card2");
        }else{
            System.out.println("card1<=card2");
        }
        SuitCompator s1=new SuitCompator();
        if(s1.compare(card1,card2)>0){
            System.out.println("card1>card2");

        }else{
            System.out.println("card1<=card2");
        }
    }
}
